$OpenBSD: patch-plugins_wav_encodercda_cpp,v 1.1.1.1 2013/04/24 11:24:28 zhuk Exp $
--- plugins/wav/encodercda.cpp.orig	Wed Oct 17 20:23:02 2012
+++ plugins/wav/encodercda.cpp	Wed Oct 17 20:23:21 2012
@@ -48,10 +48,12 @@ extern "C"
   #undef private
 }
 
+#ifndef swap16
 inline int16_t swap16 (int16_t i)
 {
   return (((i >> 8) & 0xFF) | ((i << 8) & 0xFF00));
 }
+#endif
 
 long EncoderCda::read(int16_t * buf, int frames){ 
   QByteArray output;
